package com.ktjiaoyu.t313.dao;

import com.ktjiaoyu.t313.pojo.User;
import org.mybatis.spring.support.SqlSessionDaoSupport;

import java.util.List;

public class UserDaoImpl2 extends SqlSessionDaoSupport implements UserDao {

    @Override
    public List<User> findUserList() {

        return this.getSqlSessionTemplate().selectList("com.ktjiaoyu.t313.dao.UserDao.findUserList");
    }

    @Override
    public int deleteUserById(int id) {
        return 0;
    }
}
